package ch.dungegondefenders;

import javafx.application.Application;
import javafx.stage.Stage;
import ch.dungegondefenders.appstates.AppStateManager;
import ch.dungegondefenders.appstates.AppStates;

public class Main extends Application {

	@Override
	public void start(Stage stage) throws Exception {
		AppStateManager manager = AppStateManager.getInstance();
		manager.setStage(stage);
		manager.switchTo(AppStates.MAIN);
		stage.show();
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		launch(args);
	}
}
